package presentation.frame;

import java.awt.Color;

import javax.swing.JPanel;
import javax.swing.JLabel;

import presentation.redesign.Label;

/**���panel��frame���·�������ʾС���ǻ�������״̬��
 */
public class EndPane extends JPanel{
	static Label stateLabel ;
	public EndPane(){
		this.setBounds(0, 620, 1100, 42);
		setLayout(null);
		
		Label galaxy = new Label("produced by Galaxy-Hitchhiker");
		this.setBackground(new Color(195,226,204));
		galaxy.setBounds(837, 10, 253, 22);
		add(galaxy);
		
		stateLabel = new Label("");
		stateLabel.setBounds(10, 10, 332, 22);
		add(stateLabel);
		
	}
	
	public static void showState(String state){
		stateLabel=new Label(state);
	}
	
	
}
